package com.zhai.boot.domain.json;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @package: com.zhai.boot.domain.json
 * @project-name: zhai-boot
 * @description: demo表 - demo_json字段 - json实体
 * @author: Created by 翟凤玺
 * @create-datetime: 2018-7-20 15:20
 */
@Data
public class DemoJson {

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "性別")
    private String sex;

    @ApiModelProperty(value = "爱好")
    private List<String> hobby;

    @ApiModelProperty(value = "城市")
    private DemoCityJson city;
}
